
from unittest import *


expected_failure = expectedFailure


class TestCase(TestCase):
    assert_raises = TestCase.assertRaises
    assert_equal = TestCase.assertEqual
    assert_true = TestCase.assertTrue
    assert_false = TestCase.assertFalse
    assert_is_none = TestCase.assertIsNone

    def setUp(self): 
        try: return self.setup()
        except AttributeError: pass
    def tearDown(self): 
        try: return self.teardown()
        except AttributeError: pass

